package class_code.obj_2_extends;

/**
 * 多重继承
 * <p>
 * 这里 Husky 继承了 Dog，而Dog 继承了Animal 所以这里是多继承！
 */

class Husky extends Dog {

    public Husky(int id, String name, int age, String sex) {
        super(id, name, age, sex);
    }
}

public class ExtendsDemo2 {

    public static void main(String[] args) {
        Husky ha2 = new Husky(1, "二哈", 3, "男");
        ha2.helpMaster();
    }
}
